<?php
class HelpService extends BaseDbService
{
	public function __construct()
	{
		$this->dao	= new HelpDao();
	}
	
	public function getAll()
	{
		$ret = $this->getList(array(),'id DESC',0,0);
		return $ret['rows'];
	}
	
	public function getListFromCache($con,$orderby,$start,$num,$fields='',$ttl=0,$position='')
	{
		if(empty($ttl))
		{
			$ttl = 3600;
		}
		return parent::getListFromCache($con,$orderby,$start,$num,$fields,$ttl,$position);
	}
}